package com.redis.Service.Impl;

import com.redis.Dao.UserDao;
import com.redis.Service.UserBiz;
import com.redis.po.UserPo;
import com.redis.vo.UserEntity;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserBizImpl implements UserBiz {
    @Resource
    private UserDao userDao;
    public UserEntity loginUser(UserPo userPo){
        return userDao.loginUser(userPo);
    }
    public int registerUser(UserPo userPo){
        return userDao.registerUser(userPo);
    }
}
